]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
workspacesView: Enable long swipes
authorAlexander Mikhaylenko <exalm7659@gmail.com>
Sun, 7 Feb 2021 20:06:02 +0000 (01:06 +0500)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 8 Feb 2021 22:20:26 +0000 (22:20 +0000)
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1647>

js/ui/workspacesView.js

index 025fafe065903d7d6a550c16fafe3ff246479171..56b5e55edad233e2972804873415ddbfcd4c7d11 100644 (file)
@@ -498,6 +498,7 @@ class WorkspacesDisplay extends St.Widget {
 
         this._swipeTracker = new SwipeTracker.SwipeTracker(
             Main.layoutManager.overviewGroup, Shell.ActionMode.OVERVIEW);
+        this._swipeTracker.allowLongSwipes = true;
         this._swipeTracker.connect('begin', this._switchWorkspaceBegin.bind(this));
         this._swipeTracker.connect('update', this._switchWorkspaceUpdate.bind(this));
         this._swipeTracker.connect('end', this._switchWorkspaceEnd.bind(this));